# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：     InCase.py
   Description :
   Author :        ZhangYiLin
   date：          2020/12/09 13:47
-------------------------------------------------
   Change Activity:
                   2020/12/09 13:47
-------------------------------------------------
"""
import json


def init_case(path, file_name='case.json'):
    """
    读取用例
    """
    with open(path + '/' + file_name, encoding='utf-8') as json_file:
        case = json.load(json_file)
    return case


if __name__ == '__main__':
    print(init_case("D:\\workFiles\\UI\\TestCase\\TestLogin"))
